using System;

namespace RapidHDL
{
	public enum LogType
	{
		SimulationTrace,
		VerilogTrace
	}

	/// <summary>
	/// Summary description for InternalLog.
	/// </summary>
	public class InternalLog
	{
		public bool EnableDisplayToConsole;
		public System.Collections.ArrayList DisplayLogs;

		public InternalLog()
		{
			DisplayLogs = new System.Collections.ArrayList();
		}

		public void Log(LogType peLogType, string psLogEntry)
		{
			if (DisplayLogs.Contains(peLogType))
				if (EnableDisplayToConsole)
					System.Console.WriteLine(psLogEntry);
		}
	}
}
